<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<html>
<head>
<title>Error</title>
</head>
<%
   String message=(String)request.getAttribute("message");
%>
<body>
<table width="650" border="0" >
  <tr>
    <td width="650" height="80" background="<%=request.getRealPath("")+"/image/top.jpg"%>">&nbsp;</td>
  </tr>
  <tr>
    <td >
	<a href="<%=request.getContextPath()+"/user/login.jsp" %>">Login</a>&nbsp;&nbsp;
	<a href="<%=request.getContextPath()+"/user/register.jsp" %>">Register</a>&nbsp;&nbsp;
	<a href="logout.do">Log off</a>&nbsp;&nbsp;
	<a href="loadUser.do">My Porfile</a>&nbsp;&nbsp;
	<%
	 	String myuserid=(String)session.getAttribute("userid");
	%>
	<a href="showMyStock.do?userid="<%=myuserid%>">My Stock</a>&nbsp;&nbsp;
	<a href="showTrade.do?userid="<%=myuserid%>">History</a>&nbsp;&nbsp;
	<a href="showWatchList.do">Watch List</a>&nbsp;&nbsp;
	<a href="index.do">Order Cancellation</a>&nbsp;&nbsp;
	<a href="<%=request.getContextPath()+"/stock/search.jsp" %>">Search</a>
	</td>
  </tr>
</table>


<br>
<br>
<p>
   <table >
   		<tr>
   			<td>
	<%
	if(message!=null)
	{
		out.println(message+"<br>");
	}
	%>
	<a href=<%=request.getContextPath()+"/user/login.jsp" %>>Return</a>
   			</td>
   		</tr>
   </table>
</p>
</body>
</html>


